<?php if(!empty($notice)){?>
<div id="Notice" class="<?php echo ($notice['error'] == 1 ? 'Error' : 'Success');?>">
	<?php if($notice['error'] == 1){?>
		<img src="<?php echo COMPONENT_PATH."images/cross.png"?>"> <?php echo ($notice['msg'] ? $notice['msg'] : "Some error occurred while saving");?>
	<?php }else if($notice['error'] == 0) {?>
		<img src="<?php echo COMPONENT_PATH."images/tick.png"?>"> <?php echo ($notice['msg'] ? $notice['msg'] : "Your information has been saved");?>
	<?php }?>
</div>
<?php }?>